<html>
    <script>
        chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
            if (request.method == "getURLs") {
                sendResponse({urls: localStorage["urls"]});
            } else {
                sendResponse({});
            }
        });
    </script>
</html>
